raar.agent.process.sensor
Class RARegionSensor_Pie
java.lang.Object
raar.agent.process.RAProcess
raar.agent.process.sensor.RASensor
raar.agent.process.sensor.RARegionSensor
raar.agent.process.sensor.RARegionSensor_Pie
- All Implemented Interfaces:
- java.io.Serializable, RAAgentDependentProcess
- Direct Known Subclasses:
- RACameraSensor, RAObjectSensor, RASonarSensor
public abstract class RARegionSensor_Pie
- extends RARegionSensor
A sensor with a certain region of perception (a cone within which
the sensor sees something).
Some JavaDoc info has been omitted since everything is soooo clear...
- See Also:
- Serialized Form
| Methods inherited from class raar.agent.process.sensor.RASensor |
acceptsInput, dumpRegisters, execute, explain, get, getAgent, getColor, getDataType, getInputNames, getInputObjects, getOutputNames, getOutputObjects, getSensorValue, isSpecial, removeReferenceToAgent, set, setAgent, setOutput, setReferenceToAgent, setSourceCode, suppliesOutput, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RARegionSensor_Pie
public RARegionSensor_Pie(java.lang.String outputName,
RAAgent agent)
- Construct.
getDirection
public double getDirection()
setDirection
public void setDirection(double d)
getSectionWidth
public double getSectionWidth()
setSectionWidth
public void setSectionWidth(double s)
getRadius
public double getRadius()
setRadius
public void setRadius(double r)
getRegion
public java.awt.Shape getRegion(double currentX,
double currentY,
double currentA)
- Return the region within which the sensor can see.
- Specified by:
getRegion in class RARegionSensor